<?php

Route::rule("wechat/getWxaCode", "wechat/tools/getWxaCode", 'GET');
Route::rule("wechat/getDictionaryParam", "wechat/tools/getDictionaryParam", "POST");

Route::group('wechat', [

    "login" => "wechat/login/login",

    "storeCenter" => "wechat/center/storeCenter",
    "withdrawCash" => "wechat/center/withdrawCash",
    "like" => "wechat/center/like",
    "receivePoint" => "wechat/center/receivePoint",
    "consumeRankingList" => "wechat/center/consumeRankingList",
    "pointRankingList" => "wechat/center/pointRankingList",
    "myCenter" => "wechat/center/myCenter",
    "updateSign" => "wechat/center/updateSign",
    "accountDetailList" => "wechat/center/accountDetailList",
    "updateHomeJson" => "wechat/center/updateHomeJson",
    "recommendCenter" => "wechat/center/recommendCenter",
    "updateHomeJsonForOss" => "wechat/center/updateHomeJsonForOss",
    "openMemberPage" => "wechat/center/openMemberPage",
    "homeCenter" => "wechat/center/homeCenter",
    "home" => "wechat/center/home",

    "topGoods" => "wechat/goods/topGoods",
    "saleGoods" => "wechat/goods/saleGoods",
    "goodsList" => "wechat/goods/goodsList",
    "arrangeGoods" => "wechat/goods/arrangeGoods",
    "goodsCatList" => "wechat/goods/goodsCatList",
    "unlockGoods" => "wechat/goods/unlockGoods",
    "updateGoodsLittleDesc" => "wechat/goods/updateGoodsLittleDesc",
    "myShelf" => "wechat/goods/myShelf",
    "searchMyShelfByCatId" => "wechat/goods/searchMyShelfByCatId",
    "searchMyShelfByGoodsName" => "wechat/goods/searchMyShelfByGoodsName",

    "footprintList" => "wechat/finds/footprintList",
    "popularityList" => "wechat/finds/popularityList",
    "nearbyList" => "wechat/finds/nearbyList",

    "myOrderList" => "wechat/order/myOrderList",
    "orderList" => "wechat/order/orderList",

    "otherStoreCenter" => "wechat/otherCenter/otherStoreCenter",
    "otherMyCenter" => "wechat/otherCenter/otherMyCenter",
    "otherConsumeRankingList" => "wechat/otherCenter/otherConsumeRankingList",
    "otherPointRankingList" => "wechat/otherCenter/otherPointRankingList",
    "receiveOtherPoint" => "wechat/otherCenter/receiveOtherPoint",

    "otherGoodsList" => "wechat/otherGoods/otherGoodsList",
    "otherShelf" => "wechat/otherGoods/otherShelf",
    "searchOtherShelfByCatId" => "wechat/otherGoods/searchOtherShelfByCatId",
    "searchOtherShelfByGoodsName" => "wechat/otherGoods/searchOtherShelfByGoodsName",

    "uploadImage" => "wechat/tools/uploadImage",
    "getOssToken" => "wechat/tools/getOssToken",
    "pushNewFormId" => "wechat/tools/pushNewFormId",
    "getMiniProgramOssToken" => "wechat/tools/getMiniProgramOssToken",

    "sceneList" => "wechat/scene/sceneList",
    "openShop" => "wechat/scene/openShop",

    "shareGoodsPage" => "wechat/share/shareGoodsPage",
    "shareOtherStorePage" => "wechat/share/shareOtherStorePage",

    "myMessageList" => "wechat/message/myMessageList",
    "submitWriteMessage" => "wechat/message/submitWriteMessage",
    "deleteMessage" => "wechat/message/deleteMessage",
    "deleteMyMessage" => "wechat/message/deleteMyMessage",
    "otherMessageList" => "wechat/message/otherMessageList",
    "incomeAccountDetailList" => "wechat/accountDetail/incomeAccountDetailList",
    "pointAccountDetailList" => "wechat/accountDetail/pointAccountDetailList",
    "submitCustomerFeedback" => "wechat/feedback/submitCustomerFeedback",
    "submitGoodsFeedback" => "wechat/feedback/submitGoodsFeedback",
    "wechatAuthorizeDecryption" => "wechat/feedback/wechatAuthorizeDecryption",

    "dataCenter" => "wechat/data/dataCenter",

])->middleware('FilterWechatLogin');